package com.itheima.dao.system;

import com.itheima.domain.system.SysLog;

import java.util.List;

/**
 * @Author:zhiGang.
 * @Description:
 * @Date:Created in 20:51 2020/11/29
 * @ModifiedBy:
 */
public interface SysLogDao {
    /**
         * @Description:  增加
         * @Param: [sysLog]
         * @return: int
         * @Author: zhiGang.
         * @Date:  2020/11/29
         */
    int save(SysLog sysLog);

    /**
         * @Description:
         * @Param: [catalog]
         * @return: int
         * @Author: zhiGang.
         * @Date:  2020/11/29
     * @param sysLogId
         */
    int delete(String sysLogId);



    /**
         * @Description:
         * @Param: [id]
         * @return: com.itheima.domain.system.SysLog
         * @Author: zhiGang.
         * @Date:  2020/11/29
         */
    SysLog findByTime(String time);

    /**
         * @Description:
         * @Param: []
         * @return: java.util.List<com.itheima.domain.system.SysLog>
         * @Author: zhiGang.
         * @Date:  2020/11/29
     * @param visitTime
         */
    List<SysLog> findAll(String visitTime);

}
